/*
 * This source code is part of TWaver 4.0
 *
 * Serva Software PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 * Copyright 2002 - 2011 Serva Software. All rights reserved.
 */

package demo.tree.file;

import java.io.File;

import twaver.Node;

public class FileElement extends Node{
	
	private File file = null;
	private boolean isLeaf = false;
	private boolean isLoaded = false;
	
	public FileElement(File file){
		this.file = file;
	}
	
	public File getFile(){
		return this.file;
	}
	
	public boolean isLeaf(){
		return this.isLeaf;
	}
	
	public boolean isLoaded() {
		return this.isLoaded;
	}
	
	public void setLeaf(boolean isLeaf) {
		this.isLeaf = isLeaf;
	}
	
	public void setLoaded(boolean isLoaded){
		this.isLoaded = isLoaded;
	}

}